package com.ipfsemc.ipfsemc.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value ="Bounty",description = "奖励金")
public class Bounty {
    @ApiModelProperty(notes = "ID")
    private String bountyId;

    @ApiModelProperty(notes = "用户ID",required = true)
    private String userId;

    @ApiModelProperty(notes = "奖励金",required = true)
    private BigDecimal bountyMoney;

    @ApiModelProperty(notes = "时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date bountyTime;

    @ApiModelProperty(notes = "原因")
    private String reason;

    @ApiModelProperty(notes = "推荐奖励",example = "2",readOnly = true)
    private Double recomAward;

    @ApiModelProperty(notes = "产品名",readOnly = true)
    private String proName;

    @ApiModelProperty(notes = "数量",readOnly = true)
    private String proNum;
    @ApiModelProperty(notes = "账号",required = true)
    private String bountyNum;
    @ApiModelProperty(notes = "姓名",required = true)
    private String bountyName;
    @ApiModelProperty(notes = "银行卡ID",example = "2")
    private Long bnakId;

    @ApiModelProperty(notes = "价格",readOnly = true)
    private BigDecimal price;

    @ApiModelProperty(notes = "提现状态 -1待审核  0待打款  1已打款  -2无效" ,example = "0" )
    private Integer bountyState;
    @ApiModelProperty(notes = "提现方式 1微信 2银行卡 3支付宝",required = true,example = "2")
    private Integer bountyType;



}